package cn.tedu.truetaste.ex.handler;

import cn.tedu.truetaste.web.ServiceCode;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 业务异常
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ZpwServiceException extends RuntimeException{
    private ServiceCode serviceCode;
    public ZpwServiceException(ServiceCode serviceCode,String message){
        super(message);
        setServiceCode(serviceCode);
    }
}
